﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="CartPayForm.aspx.cs" Inherits="ProjektarbeteKlauserSwag.CartPayForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
     <div id="PayformMain">
        <h1>Payform:</h1>
        <div id="GridView">
            <p style="width: 345px">
                <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" CssClass="GridView" Width="337px">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:TemplateField HeaderText="Remove:">
                            <ItemTemplate>
                                <asp:CheckBox ID="Remove" runat="server"></asp:CheckBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                    <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                    <SortedAscendingCellStyle BackColor="#FDF5AC" />
                    <SortedAscendingHeaderStyle BackColor="#4D0000" />
                    <SortedDescendingCellStyle BackColor="#FCF6C0" />
                    <SortedDescendingHeaderStyle BackColor="#820000" />
                </asp:GridView>
            </p>
            <p>
                <asp:Label ID="LabelNothingInCart" runat="server" Font-Bold="True" ForeColor="Red" Visible="False"></asp:Label></p>

        </div>
         <div id="Userinfo">
            <asp:Button ID="ButtonFillUserInfo" runat="server" OnClick="ButtonFillUserInfo_Click" Text="Get Your user information" CssClass="ButtonFillUserInfo" />
            <br />
            <asp:Label ID="LabelFirstName" runat="server" Text="Firstname:"></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxFirstName" ErrorMessage="Input Firstname" ValidateRequestMode="Disabled" Enabled="False">*</asp:RequiredFieldValidator>
            <asp:TextBox ID="TextBoxFirstName" CssClass="TextBox" runat="server"></asp:TextBox>
            <asp:Label ID="LabelLastName" runat="server" Text="Lastname:"></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxLastName" ErrorMessage="Input Lastname" Enabled="False">*</asp:RequiredFieldValidator>
            <asp:TextBox ID="TextBoxLastName" CssClass="TextBox" runat="server"></asp:TextBox>
            <asp:Label ID="LabelAddress" runat="server" Text="Address:"></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBoxAddress" ErrorMessage="Input Address" Enabled="False">*</asp:RequiredFieldValidator>
            <asp:TextBox ID="TextBoxAddress" CssClass="TextBox" runat="server"></asp:TextBox>
            <asp:Label ID="LabelZip" runat="server" Text="Zip code:"></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBoxZip" ErrorMessage="Input Zipcode" Enabled="False">*</asp:RequiredFieldValidator>
            <asp:TextBox ID="TextBoxZip" CssClass="TextBox" runat="server"></asp:TextBox>
            <asp:Label ID="LabelCity" runat="server" Text="City:"></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBoxCity" ErrorMessage="Input City" Enabled="False">*</asp:RequiredFieldValidator>
            <asp:TextBox ID="TextBoxCity" CssClass="TextBox" runat="server"></asp:TextBox>
            <asp:Label ID="LabelEmail" runat="server" Text="Email:"></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBoxEmail" ErrorMessage="Input Email" Enabled="False">*</asp:RequiredFieldValidator>
            <asp:TextBox ID="TextBoxEmail" CssClass="TextBox" runat="server"></asp:TextBox>
            <asp:Label ID="LabelPhone" runat="server" Text="Phone:"></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBoxPhone" ErrorMessage="Input Phone" Enabled="False">*</asp:RequiredFieldValidator>
            <asp:TextBox ID="TextBoxPhone" CssClass="TextBox" runat="server"></asp:TextBox>

        </div>
        <div id="CartButtons">
            <p style="width: 379px">
                <asp:Label ID="LabelPrice" runat="server" Text="Total price:" Font-Bold="True"></asp:Label>
                <asp:Label ID="LabelTotal" runat="server"></asp:Label>
            </p>
            <br />
            <asp:Button ID="ButtonDeleteItem" runat="server" OnClick="ButtonDeleteArticle_Click" Text="Delete" Height="26px" Width="101px" />
            &nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="ButtonPlaceOrder" runat="server" OnClick="ButtonPlaceOrder_Click" Text="Place Order" Height="26px" Width="100px" />
            <br />
            <br />
        </div>
        
    </div>
</asp:Content>
